//
//  PhonePwdCodeLoginService.swift
//  User
//
//  Created by ET|冰琳 on 2017/1/12.
//  Copyright © 2017年 IB. All rights reserved.
//

import Foundation
import ReactiveSwift

public protocol PhonePwdCodeLoginService {
    associatedtype PhonePwdCodeResult
    associatedtype PhonePwdLoginResult
    
    func getLoginVerifyCode(phone: String?) -> SignalProducer<PhonePwdCodeResult, NSError>
    func loginWith(phone: String?, code: String?, password: String?) -> SignalProducer<PhonePwdLoginResult, NSError>
}
